package com.wlf.constant;

/**
 * @author lingfeng.wei
 * @date 2021/10/28 10:43
 */
public class Constants {

    public static byte DELETE_0 =0;

    public static byte DELETE_1 =1;



    public  static String SENT_EMAIL_FROM_TO ="ex_liyongjian@axatp.com";

    public  static String IP="121.4.158.219";
    public  static String PORT="60100";
    public  static String DATABASE="dev";
    public  static String USER_NAME="root";
    public  static String PASSWORD="901002@.Wei";
    public  static String TABLE="T_USER";

    public  static byte DELETED=0;

    public  static byte ZERO=0;

    public  static byte ONE=1;


    public  static String MESSAGETYPE_PRINT="P";

    public  static String MESSAGETYPE_ORDER="O";

    public  static String RESPONSE_OK="200";

    public  static String RESPONSE_ERROR="500";

    public  static String RESPONSE_MESSAGE="接口调用成功";

    public  static String USER_IS_NOT_EXISTS="用户不存在";

    public  static String USER_IS_PARAMETER_ERROR="参数不能为空";

    public  static String SEATA_SERVER_USER_KEY="SEATA_SERVER:USER_KEY:";

    /**
     * 轨迹校验Key
     * @return
     */
    public static String getUserKey(String key) {
        return Constants.SEATA_SERVER_USER_KEY + key;
    }
}
